home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
System Stuff
/
Video Digitizers
/
RasterOps
/
RasterOps VDIG
/
RasterOps VDIG.rsrc
/
INIT_0.txt
< prev
next >
Wrap
Text File
|
1992-10-15
|
30KB
|
532 lines
start:
00000000 4E56 FEF4 link A6, -0x010C
00000004 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000008 47EE FF80 lea.l A3, [A6 - 0x80]
0000000C 49EE FF40 lea.l A4, [A6 - 0xC0]
00000010 7000 moveq.l D0, 0x00
00000012 2440 movea.l A2, D0
00000014 4243 clr.w D3
00000016 426E FEFC clr.w [A6 - 0x104]
0000001A 1238 0172 move.b D1, [0x00000172 /* MBState */]
0000001E 4881 ext.w D1
00000020 343C 0080 move.w D2, 0x80
00000024 C401 and.b D2, D1
00000026 7200 moveq.l D1, 0x00
00000028 1202 move.b D1, D2
0000002A 4A81 tst.l D1
0000002C 6700 0194 beq +0x196 /* 000001C2 */
00000030 7001 moveq.l D0, 0x01
00000032 C038 017B and.b D0, [0x0000017B]
00000036 6600 018A bne +0x18C /* 000001C2 */
0000003A 303C A82A move.w D0, 0xA82A
0000003E A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
00000040 2D48 FEF4 move.l [A6 - 0x10C], A0
00000044 303C A89F move.w D0, 0xA89F
00000048 A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000004A 202E FEF4 move.l D0, [A6 - 0x10C]
0000004E B1C0 cmpa.l A0, D0
00000050 6700 0170 beq +0x172 /* 000001C2 */
00000054 7E00 moveq.l D7, 0x00
00000056 6016 bra +0x18 /* 0000006E */
label00000058:
00000058 7000 moveq.l D0, 0x00
0000005A 2980 7400 move.l [A4 + D7.w * 4], D0
0000005E 2780 7400 move.l [A3 + D7.w * 4], D0
00000062 2207 move.l D1, D7
00000064 E541 asl D1.w, 2
00000066 2D80 10C0 move.l [A6 + D1.w - 0x64], D0
0000006A 2007 move.l D0, D7
0000006C 5287 addq.l D7, 1
label0000006E:
0000006E 7010 moveq.l D0, 0x10
00000070 B087 cmp.l D0, D7
00000072 62E4 bhi -0x1A /* 00000058 */
00000074 7E01 moveq.l D7, 0x01
00000076 6000 00A6 bra +0xA8 /* 0000011E */
label0000007A:
0000007A 1D47 FF31 move.b [A6 - 0xCF], D7
0000007E 1D7C 0001 FF32 move.b [A6 - 0xCE], 0x1
00000084 422E FF33 clr.b [A6 - 0xCD]
00000088 41EE FF00 lea.l A0, [A6 - 0x100]
0000008C 7016 moveq.l D0, 0x16
0000008E A06E syscall SlotManager
00000090 3800 move.w D4, D0
00000092 6600 0086 bne +0x88 /* 0000011A */
00000096 1D7C 0020 FF32 move.b [A6 - 0xCE], 0x20 /* ' ' */
0000009C 41EE FF00 lea.l A0, [A6 - 0x100]
000000A0 7001 moveq.l D0, 0x01
000000A2 A06E syscall SlotManager
000000A4 3800 move.w D4, D0
000000A6 6672 bne +0x74 /* 0000011A */
000000A8 2A3C 0000 FFFF move.l D5, 0xFFFF
000000AE CAAE FF00 and.l D5, [A6 - 0x100]
000000B2 3005 move.w D0, D5
000000B4 0440 028A subi.w D0, 0x28A
000000B8 671E beq +0x20 /* 000000D8 */
000000BA 0440 011B subi.w D0, 0x11B
000000BE 671C beq +0x1E /* 000000DC */
000000C0 0440 0024 subi.w D0, 0x24 /* '$' */
000000C4 671A beq +0x1C /* 000000E0 */
000000C6 0440 003D subi.w D0, 0x3D /* '=' */
000000CA 6718 beq +0x1A /* 000000E4 */
000000CC 0440 0040 subi.w D0, 0x40 /* '@' */
000000D0 6716 beq +0x18 /* 000000E8 */
000000D2 5540 subq.w D0, 2
000000D4 6716 beq +0x18 /* 000000EC */
000000D6 6042 bra +0x44 /* 0000011A */
label000000D8:
000000D8 7C00 moveq.l D6, 0x00
000000DA 6014 bra +0x16 /* 000000F0 */
label000000DC:
000000DC 7C01 moveq.l D6, 0x01
000000DE 6010 bra +0x12 /* 000000F0 */
label000000E0:
000000E0 7C02 moveq.l D6, 0x02
000000E2 600C bra +0xE /* 000000F0 */
label000000E4:
000000E4 7C03 moveq.l D6, 0x03
000000E6 6008 bra +0xA /* 000000F0 */
label000000E8:
000000E8 7C04 moveq.l D6, 0x04
000000EA 6004 bra +0x6 /* 000000F0 */
label000000EC:
000000EC 7C05 moveq.l D6, 0x05
000000EE 7601 moveq.l D3, 0x01
label000000F0:
000000F0 52B3 6400 addq.l [A3 + D6.w * 4], 1
000000F4 7000 moveq.l D0, 0x00
000000F6 3005 move.w D0, D5
000000F8 7210 moveq.l D1, 0x10
000000FA E3A8 lsl D0, D1
000000FC 2206 move.l D1, D6
000000FE E189 lsl D1, 8
00000100 8280 or.l D1, D0
00000102 2033 6400 move.l D0, [A3 + D6.w * 4]
00000106 E988 lsl D0, 4
00000108 8081 or.l D0, D1
0000010A 2207 move.l D1, D7
0000010C 8280 or.l D1, D0
0000010E 2981 7400 move.l [A4 + D7.w * 4], D1
00000112 2007 move.l D0, D7
00000114 E540 asl D0.w, 2
00000116 2D86 00C0 move.l [A6 + D0.w - 0x64], D6
label0000011A:
0000011A 2007 move.l D0, D7
0000011C 5287 addq.l D7, 1
label0000011E:
0000011E 700E moveq.l D0, 0x0E
00000120 B087 cmp.l D0, D7
00000122 6400 FF56 bcc -0xA8 /* 0000007A */
00000126 7E0E moveq.l D7, 0x0E
00000128 606A bra +0x6C /* 00000194 */
label0000012A:
0000012A 4AB4 7400 tst.l [A4 + D7.w * 4]
0000012E 6760 beq +0x62 /* 00000190 */
00000130 2007 move.l D0, D7
00000132 E540 asl D0.w, 2
00000134 2C36 00C0 move.l D6, [A6 + D0.w - 0x64]
00000138 598F subq.l A7, 4
0000013A 2F3C 7468 6E67 move.l -[A7], 0x74686E67 /* 'thng' */
00000140 2006 move.l D0, D6
00000142 E780 asl D0, 3
00000144 2234 7400 move.l D1, [A4 + D7.w * 4]
00000148 E889 lsr D1, 4
0000014A 740F moveq.l D2, 0x0F
0000014C C481 and.l D2, D1
0000014E D440 add.w D2, D0
00000150 7001 moveq.l D0, 0x01
00000152 B0B3 6400 cmp.l D0, [A3 + D6.w * 4]
00000156 6404 bcc +0x6 /* 0000015C */
00000158 7000 moveq.l D0, 0x00
0000015A 6002 bra +0x4 /* 0000015E */
label0000015C:
0000015C 7001 moveq.l D0, 0x01
label0000015E:
0000015E 4880 ext.w D0
00000160 9440 sub.w D2, D0
00000162 3F02 move.w -[A7], D2
00000164 A81F syscall Get1Resource
00000166 245F movea.l A2, [A7]+
00000168 200A move.l D0, A2
0000016A 6724 beq +0x26 /* 00000190 */
0000016C 598F subq.l A7, 4
0000016E 2F0A move.l -[A7], A2
00000170 7001 moveq.l D0, 0x01
00000172 3F00 move.w -[A7], D0
00000174 7012 moveq.l D0, 0x12
00000176 A82A syscall ComponentDispatch
00000178 2D5F FF38 move.l [A6 - 0xC8], [A7]+
0000017C 6712 beq +0x14 /* 00000190 */
0000017E 2F2E FF38 move.l -[A7], [A6 - 0xC8]
00000182 2F34 7400 move.l -[A7], [A4 + D7.w * 4]
00000186 7011 moveq.l D0, 0x11
00000188 A82A syscall ComponentDispatch
0000018A 3D7C 0001 FEFC move.w [A6 - 0x104], 0x1
label00000190:
00000190 2007 move.l D0, D7
00000192 5387 subq.l D7, 1
label00000194:
00000194 7001 moveq.l D0, 0x01
00000196 B087 cmp.l D0, D7
00000198 6390 bls -0x6E /* 0000012A */
0000019A 4A43 tst.w D3
0000019C 6724 beq +0x26 /* 000001C2 */
0000019E 598F subq.l A7, 4
000001A0 2F3C 7468 6E67 move.l -[A7], 0x74686E67 /* 'thng' */
000001A6 703D moveq.l D0, 0x3D
000001A8 3F00 move.w -[A7], D0
000001AA A81F syscall Get1Resource
000001AC 2D5F FEF8 move.l [A6 - 0x108], [A7]+
000001B0 6710 beq +0x12 /* 000001C2 */
000001B2 598F subq.l A7, 4
000001B4 2F2E FEF8 move.l -[A7], [A6 - 0x108]
000001B8 7001 moveq.l D0, 0x01
000001BA 3F00 move.w -[A7], D0
000001BC 7012 moveq.l D0, 0x12
000001BE A82A syscall ComponentDispatch
000001C0 584F addq.w A7, 4
label000001C2:
000001C2 4A6E FEFC tst.w [A6 - 0x104]
000001C6 6708 beq +0xA /* 000001D0 */
000001C8 203C 0000 0080 move.l D0, 0x80
000001CE 6006 bra +0x8 /* 000001D6 */
label000001D0:
000001D0 203C 0000 0081 move.l D0, 0x81
label000001D6:
000001D6 7200 moveq.l D1, 0x00
000001D8 1200 move.b D1, D0
000001DA 3F01 move.w -[A7], D1
000001DC 70FF moveq.l D0, 0xFFFFFFFF
000001DE 3F00 move.w -[A7], D0
000001E0 4EBA 000C jsr [PC + 0xC /* 000001EE */]
000001E4 4CEE 1CF8 FED4 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x12C]
000001EA 4E5E unlink A6
000001EC 4E75 rts
fn000001EE:
000001EE 4E56 0000 link A6, 0
000001F2 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000001F6 0838 0006 028E btst.b [0x0000028E /* ROM85 */], 0x6
000001FC 673A beq +0x3C /* 00000238 */
label000001FE:
000001FE 594F subq.w A7, 4
00000200 2F3C 4943 4E23 move.l -[A7], 0x49434E23 /* 'ICN#' */
00000206 3F2E 000A move.w -[A7], [A6 + 0xA]
0000020A A9A0 syscall GetResource
0000020C 201F move.l D0, [A7]+
0000020E 6720 beq +0x22 /* 00000230 */
00000210 2F00 move.l -[A7], D0
00000212 2040 movea.l A0, D0
00000214 A029 syscall HLock
00000216 2050 movea.l A0, [A0]
00000218 2F08 move.l -[A7], A0
0000021A 3F2E 0008 move.w -[A7], [A6 + 0x8]
0000021E 6100 01CC bsr +0x1CE /* 000003EC */
00000222 A9A3 syscall ReleaseResource
label00000224:
00000224 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000228 4E5E unlink A6
0000022A 205F movea.l A0, [A7]+
0000022C 588F addq.l A7, 4
0000022E 4ED0 jmp [A0]
label00000230:
00000230 3F3C 0001 move.w -[A7], 0x1
00000234 A9C8 syscall SysBeep
00000236 60EC bra -0x12 /* 00000224 */
label00000238:
00000238 243C 0004 0008 move.l D2, 0x40008
0000023E 263C 6963 6C38 move.l D3, 0x69636C38 /* 'icl8' */
00000244 283C 6963 6C34 move.l D4, 0x69636C34 /* 'icl4' */
0000024A 2078 08A4 movea.l A0, [0x000008A4 /* MainDevice */]
0000024E 2050 movea.l A0, [A0]
00000250 2068 0016 movea.l A0, [A0 + 0x16]
00000254 2050 movea.l A0, [A0]
00000256 0C68 0004 0020 cmpi.w [A0 + 0x20], 0x4
0000025C 6DA0 blt -0x5E /* 000001FE */
0000025E 6604 bne +0x6 /* 00000264 */
00000260 4842 swap.w D2
00000262 C744 exg D3, D4
label00000264:
00000264 594F subq.w A7, 4
00000266 2F03 move.l -[A7], D3
00000268 3F2E 000A move.w -[A7], [A6 + 0xA]
0000026C A9A0 syscall GetResource
0000026E 221F move.l D1, [A7]+
00000270 6740 beq +0x42 /* 000002B2 */
label00000272:
00000272 594F subq.w A7, 4
00000274 2F3C 4943 4E23 move.l -[A7], 0x49434E23 /* 'ICN#' */
0000027A 3F2E 000A move.w -[A7], [A6 + 0xA]
0000027E A9A0 syscall GetResource
00000280 201F move.l D0, [A7]+
00000282 6606 bne +0x8 /* 0000028A */
00000284 2F01 move.l -[A7], D1
00000286 A9A3 syscall ReleaseResource
00000288 60A6 bra -0x58 /* 00000230 */
label0000028A:
0000028A 2F01 move.l -[A7], D1
0000028C 2F00 move.l -[A7], D0
0000028E 2600 move.l D3, D0
00000290 2041 movea.l A0, D1
00000292 A029 syscall HLock
00000294 2050 movea.l A0, [A0]
00000296 2F08 move.l -[A7], A0
00000298 3F02 move.w -[A7], D2
0000029A 2043 movea.l A0, D3
0000029C A029 syscall HLock
0000029E 2050 movea.l A0, [A0]
000002A0 2F08 move.l -[A7], A0
000002A2 3F2E 0008 move.w -[A7], [A6 + 0x8]
000002A6 6100 01C2 bsr +0x1C4 /* 0000046A */
000002AA A9A3 syscall ReleaseResource
000002AC A9A3 syscall ReleaseResource
000002AE 6000 FF74 bra -0x8A /* 00000224 */
label000002B2:
000002B2 4842 swap.w D2
000002B4 594F subq.w A7, 4
000002B6 2F04 move.l -[A7], D4
000002B8 3F2E 000A move.w -[A7], [A6 + 0xA]
000002BC A9A0 syscall GetResource
000002BE 221F move.l D1, [A7]+
000002C0 66B0 bne -0x4E /* 00000272 */
000002C2 594F subq.w A7, 4
000002C4 3F2E 000A move.w -[A7], [A6 + 0xA]
000002C8 AA1E syscall GetCIcon
000002CA 201F move.l D0, [A7]+
000002CC 6700 FF30 beq -0xCE /* 000001FE */
000002D0 2F00 move.l -[A7], D0
000002D2 2F00 move.l -[A7], D0
000002D4 3F2E 0008 move.w -[A7], [A6 + 0x8]
000002D8 6100 026C bsr +0x26E /* 00000546 */
000002DC AA25 syscall DisposeCIcon/DisposCIcon
000002DE 6000 FF44 bra -0xBA /* 00000224 */
000002E2 5368 6F77 subq.w [A0 + 0x6F77], 1
000002E6 494E chk.w D4, A6
000002E8 4954 chk.w D4, [A4]
000002EA 2062 movea.l A0, -[A2]
000002EC 7920 moveq.l D4, 0x20
000002EE 5061 addq.w -[A1], 8
000002F0 756C moveq.l D2, 0x6C
000002F2 204D movea.l A0, A5
000002F4 6572 bcs +0x74 /* 00000368 */
000002F6 6365 bls +0x67 /* 0000035D */
000002F8 7200 moveq.l D1, 0x00
000002FA 436F 7079 chk.w D1, [A7 + 0x7079]
000002FE 7269 moveq.l D1, 0x69
00000300 6768 beq +0x6A /* 0000036A */
00000302 7420 moveq.l D2, 0x20
00000304 3139 3837 2D31 move.w -[A0], [0x38372D31]
0000030A 3939 3000 5665 move.w -[A4], [0x30005665]
00000310 7273 moveq.l D1, 0x73
00000312 696F bvs +0x71 /* 00000383 */
00000314 6E20 bgt +0x22 /* 00000336 */
00000316 6F66 ble +0x68 /* 0000037E */
00000318 2030 332F 3237 2F39 3000 move.l D0, [[A0 + 0x3237] + D3 * 2 + 0x2F393000]
fn00000322:
00000322 2D78 0904 FFFC move.l [A6 - 0x4], [0x00000904 /* CurrentA5 */]
00000328 4BEE FFF8 lea.l A5, [A6 - 0x8]
0000032C 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
00000330 486E FFF4 pea.l [A6 - 0xC]
00000334 A86E syscall InitGraf
label00000336:
00000336 486E FEA6 pea.l [A6 - 0x15A]
0000033A A86F syscall OpenPort
0000033C 3038 092A move.w D0, [0x0000092A]
00000340 E358 rol D0.w, 1
00000342 0A40 1021 xori.w D0, 0x1021
00000346 B078 0928 cmp.w D0, [0x00000928]
0000034A 670C beq +0xE /* 00000358 */
0000034C 302E FEB2 move.w D0, [A6 - 0x14E]
00000350 0440 0028 subi.w D0, 0x28 /* '(' */
00000354 31C0 092A move.w [0x0000092A], D0
label00000358:
00000358 3038 092C move.w D0, [0x0000092C]
0000035C E358 rol D0.w, 1
0000035E 0A40 1021 xori.w D0, 0x1021
00000362 B078 092E cmp.w D0, [0x0000092E]
00000366 6706 beq +0x8 /* 0000036E */
label00000368:
00000368 31FC 0008 092C move.w [0x0000092C], 0x8
// begin alternate branch 0000036A-0000036E
label0000036A:
0000036A 0008 092C ori.b A0, 0x2C /* ',' */
// end alternate branch 0000036A-0000036E
label0000036A: // (misaligned)
label0000036E:
0000036E 2038 092A move.l D0, [0x0000092A]
00000372 3200 move.w D1, D0
00000374 0641 0020 addi.w D1, 0x20 /* ' ' */
00000378 B26E FEB4 cmp.w D1, [A6 - 0x14C]
0000037C 6D16 blt +0x18 /* 00000394 */
label0000037E:
0000037E 3038 092A move.w D0, [0x0000092A]
00000382 0440 0028 subi.w D0, 0x28 /* '(' */
00000386 31C0 092A move.w [0x0000092A], D0
0000038A 7008 moveq.l D0, 0x08
0000038C 31C0 092C move.w [0x0000092C], D0
00000390 2038 092A move.l D0, [0x0000092A]
label00000394:
00000394 2D40 FF22 move.l [A6 - 0xDE], D0
00000398 2D40 FF26 move.l [A6 - 0xDA], D0
0000039C 066E 0020 FF28 addi.w [A6 - 0xD8], 0x20 /* ' ' */
000003A2 066E 0020 FF26 addi.w [A6 - 0xDA], 0x20 /* ' ' */
000003A8 3D7C 0028 FF20 move.w [A6 - 0xE0], 0x28 /* '(' */
000003AE 4E75 rts
fn000003B0:
000003B0 3038 092C move.w D0, [0x0000092C]
000003B4 322E 0008 move.w D1, [A6 + 0x8]
000003B8 6A04 bpl +0x6 /* 000003BE */
000003BA 322E FF20 move.w D1, [A6 - 0xE0]
label000003BE:
000003BE D041 add.w D0, D1
000003C0 31C0 092C move.w [0x0000092C], D0
000003C4 E358 rol D0.w, 1
000003C6 0A40 1021 xori.w D0, 0x1021
000003CA 31C0 092E move.w [0x0000092E], D0
000003CE 3038 092A move.w D0, [0x0000092A]
000003D2 E358 rol D0.w, 1
000003D4 0A40 1021 xori.w D0, 0x1021
000003D8 31C0 0928 move.w [0x00000928], D0
000003DC 486E FEA6 pea.l [A6 - 0x15A]
000003E0 A87D syscall ClosePort
000003E2 2A6E FFFC movea.l A5, [A6 - 0x4]
000003E6 21CD 0904 move.l [0x00000904 /* CurrentA5 */], A5
000003EA 4E75 rts
fn000003EC:
000003EC 4E56 FEA6 link A6, -0x015A
000003F0 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
000003F4 6100 FF2C bsr -0xD2 /* 00000322 */
000003F8 266E 000A movea.l A3, [A6 + 0xA]
000003FC 49EE FF12 lea.l A4, [A6 - 0xEE]
00000400 288B move.l [A4], A3
00000402 0694 0000 0080 addi.l [A4], 0x80
00000408 397C 0004 0004 move.w [A4 + 0x4], 0x4
0000040E 7000 moveq.l D0, 0x00
00000410 2940 0006 move.l [A4 + 0x6], D0
00000414 297C 0020 0020 000A move.l [A4 + 0xA], 0x200020 /* ' \0 ' */
0000041C 2F0C move.l -[A7], A4
0000041E 45EE FEA6 lea.l A2, [A6 - 0x15A]
00000422 486A 0002 pea.l [A2 + 0x2]
00000426 487A 003A pea.l [PC + 0x3A /* 00000462, value 0x0, cstring "" */]
0000042A 486E FF22 pea.l [A6 - 0xDE]
0000042E 3F3C 0003 move.w -[A7], 0x3
00000432 42A7 clr.l -[A7]
00000434 A8EC syscall CopyBits
00000436 0494 0000 0080 subi.l [A4], 0x80
0000043C 2F0C move.l -[A7], A4
0000043E 486A 0002 pea.l [A2 + 0x2]
00000442 487A 001E pea.l [PC + 0x1E /* 00000462, value 0x0, cstring "" */]
00000446 486E FF22 pea.l [A6 - 0xDE]
0000044A 3F3C 0001 move.w -[A7], 0x1
0000044E 42A7 clr.l -[A7]
00000450 A8EC syscall CopyBits
00000452 6100 FF5C bsr -0xA2 /* 000003B0 */
00000456 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
0000045A 4E5E unlink A6
0000045C 205F movea.l A0, [A7]+
0000045E 5C8F addq.l A7, 6
00000460 4ED0 jmp [A0]
00000462 0000 0000 ori.b D0, 0x0
00000466 0020 0020 ori.b -[A0], 0x20 /* ' ' */
fn0000046A:
0000046A 4E56 FEA6 link A6, -0x015A
0000046E 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000472 594F subq.w A7, 4
00000474 AA03 syscall NewPixMap
00000476 201F move.l D0, [A7]+
00000478 6610 bne +0x12 /* 0000048A */
0000047A 2F2E 000A move.l -[A7], [A6 + 0xA]
0000047E 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000482 6100 FF68 bsr -0x96 /* 000003EC */
00000486 6000 00A8 bra +0xAA /* 00000530 */
label0000048A:
0000048A 2440 movea.l A2, D0
0000048C 6100 FE94 bsr -0x16A /* 00000322 */
00000490 204A movea.l A0, A2
00000492 A029 syscall HLock
00000494 2052 movea.l A0, [A2]
00000496 2068 002A movea.l A0, [A0 + 0x2A]
0000049A A023 syscall DisposHandle/DisposeHandle
0000049C 594F subq.w A7, 4
0000049E 2F3C 636C 7574 move.l -[A7], 0x636C7574 /* 'clut' */
000004A4 3F2E 000E move.w -[A7], [A6 + 0xE]
000004A8 A80C syscall RGetResource
000004AA 2052 movea.l A0, [A2]
000004AC 215F 002A move.l [A0 + 0x2A], [A7]+
000004B0 20AE 0010 move.l [A0], [A6 + 0x10]
000004B4 7004 moveq.l D0, 0x04
000004B6 322E 000E move.w D1, [A6 + 0xE]
000004BA C0C1 mulu.w D0, D1
000004BC 08C0 000F bset.b D0, 0xF
000004C0 3140 0004 move.w [A0 + 0x4], D0
000004C4 7000 moveq.l D0, 0x00
000004C6 2140 0006 move.l [A0 + 0x6], D0
000004CA 217C 0020 0020 000A move.l [A0 + 0xA], 0x200020 /* ' \0 ' */
000004D2 4268 001E clr.w [A0 + 0x1E]
000004D6 3141 0020 move.w [A0 + 0x20], D1
000004DA 317C 0001 0022 move.w [A0 + 0x22], 0x1
000004E0 3141 0024 move.w [A0 + 0x24], D1
000004E4 49EE FF12 lea.l A4, [A6 - 0xEE]
000004E8 28AE 000A move.l [A4], [A6 + 0xA]
000004EC 0694 0000 0080 addi.l [A4], 0x80
000004F2 397C 0004 0004 move.w [A4 + 0x4], 0x4
000004F8 7000 moveq.l D0, 0x00
000004FA 2940 0006 move.l [A4 + 0x6], D0
000004FE 297C 0020 0020 000A move.l [A4 + 0xA], 0x200020 /* ' \0 ' */
00000506 2012 move.l D0, [A2]
00000508 2F00 move.l -[A7], D0
0000050A 2F0C move.l -[A7], A4
0000050C 486E FEA8 pea.l [A6 - 0x158]
00000510 487A 002C pea.l [PC + 0x2C /* 0000053E, value 0x0, cstring "" */]
00000514 487A 0028 pea.l [PC + 0x28 /* 0000053E, value 0x0, cstring "" */]
00000518 486E FF22 pea.l [A6 - 0xDE]
0000051C A817 syscall CopyMask
0000051E 7000 moveq.l D0, 0x00
00000520 A122 syscall NewHandle, flags=1
00000522 2252 movea.l A1, [A2]
00000524 2348 002A move.l [A1 + 0x2A], A0
00000528 2F0A move.l -[A7], A2
0000052A AA04 syscall DisposePixMap/DisposPixMap
0000052C 6100 FE82 bsr -0x17C /* 000003B0 */
label00000530:
00000530 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00000534 4E5E unlink A6
00000536 205F movea.l A0, [A7]+
00000538 4FEF 000C lea.l A7, [A7 + 0xC]
0000053C 4ED0 jmp [A0]
0000053E 0000 0000 ori.b D0, 0x0
00000542 0020 0020 ori.b -[A0], 0x20 /* ' ' */
fn00000546:
00000546 4E56 FEA6 link A6, -0x015A
0000054A 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
0000054E 6100 FDD2 bsr -0x22C /* 00000322 */
00000552 206E 000A movea.l A0, [A6 + 0xA]
00000556 2050 movea.l A0, [A0]
00000558 3028 000C move.w D0, [A0 + 0xC]
0000055C 3228 0008 move.w D1, [A0 + 0x8]
00000560 9041 sub.w D0, D1
00000562 323C 0008 move.w D1, 0x8
00000566 3D40 FF20 move.w [A6 - 0xE0], D0
0000056A D36E FF20 add.w [A6 - 0xE0], D1
0000056E 323C 0020 move.w D1, 0x20 /* ' ' */
00000572 9141 subx.w D0, D1
00000574 322E FF28 move.w D1, [A6 - 0xD8]
00000578 D340 addx.w D1, D0
0000057A 3D41 FF28 move.w [A6 - 0xD8], D1
0000057E 3028 000A move.w D0, [A0 + 0xA]
00000582 3228 0006 move.w D1, [A0 + 0x6]
00000586 9041 sub.w D0, D1
00000588 323C 0020 move.w D1, 0x20 /* ' ' */
0000058C 9141 subx.w D0, D1
0000058E 322E FF26 move.w D1, [A6 - 0xDA]
00000592 D340 addx.w D1, D0
00000594 3D41 FF26 move.w [A6 - 0xDA], D1
00000598 486E FF22 pea.l [A6 - 0xDE]
0000059C 2F2E 000A move.l -[A7], [A6 + 0xA]
000005A0 AA1F syscall PlotCIcon
000005A2 6100 FE0C bsr -0x1F2 /* 000003B0 */
000005A6 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
000005AA 4E5E unlink A6
000005AC 205F movea.l A0, [A7]+
000005AE 5C8F addq.l A7, 6
000005B0 4ED0 jmp [A0]